//
// Copyright (C) 2011 Solar Technology Ltd,
// All rights reserved.
//
// Author: Finux Chen <finuxchen@gmail.com>
//
// This file is part of customized widgets for touch screen.
//
#ifndef _TOUCHKEYBOARD_H
#define _TOUCHKEYBOARD_H

#include <QWidget>
#include <QVector>

class QPushButton;
class QGridLayout;

class TouchKeyboard : public QWidget {
	Q_OBJECT

public:
	TouchKeyboard(QWidget* theCaller, QWidget *parent = 0);
	~TouchKeyboard();

protected slots:
	void captureKeysInput();

private:
	void capsLockTriggered();

	QWidget *caller;
	QVector<QPushButton *> keyButtons;
	QGridLayout *keysLayout;	
};

#endif // _TOUCHKEYBOARD_H
